//
//  KeyboardView.h
//  NetPhone
//
//  Created by intel intel on 12-4-25.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol KeyboardDelegate <NSObject>
-(void)keyboardValueChanged:(NSString *)value;
-(void)callWithNumber:(NSString *)value;
-(void)addNewPerson:(NSString *)value;
-(void)hideImage;

-(void)hideTabbarAndAddCallButton;
-(void)showImage;
-(void)showTabbarAndhideCallButton;
@end

@interface KeyboardView : UIView
{
    //UIButton *bgPhonePadEdit;
    NSString* preString;
    NSString* suString;
    int count;
}
@property (nonatomic,assign) id<KeyboardDelegate> delegate;
@property (nonatomic,assign) int viewheight;
@property (nonatomic,assign) BOOL blnShowKeyboard;
@property (nonatomic,assign)  UIButton *bgPhonePadEdit;

+(KeyboardView *) sharedInstance;

-(void)setNewTitle:(NSString *)newTitle;
-(void)show;
-(void)hide;
-(void)playDialSound;

@end
